/*
 * build.c
 *
 *  Created on: Feb 12, 2012
 *      Author: daniel
 */

#include "build.h"
#include "../renderer.h"
#include <glib.h>
#include <stdbool.h>
#include <SDL.h>

static GSList* builds;
static fonts_t* fonts;

static void create(fonts_t* f) {
	fonts = f;
}

static bool shouldrender() {
	return true;
}

static void render(SDL_Surface* surface, unsigned delta) {
	SDL_FillRect(surface, NULL, 0x0F0F);
}

renderer_t buildrenderer = { "build", //
		create, //
		NULL, //
		shouldrender, //
		NULL, //
		render, //
		NULL };
